<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <%@include file="../../res/include/base-head.jsp"%>
	<%@include file="../../res/include/jquery-easyui.jsp"%>
	<script type="text/javascript" src="${pageContext.request.contextPath}/res/js/circle/cirlceBase.js"></script>
  </head>
  <body>
  	<form id="data-form" class="dialog-data-form" style="width:500px;">
    	<table cellspacing="4">
   			<tr>
				<td class="field">圈子名称</td>
				<td>
					<input class="field easyui-validatebox"  data-options="required:true" type="text" name="name" value="" maxlength="15"/>
				</td>
			</tr>
			<tr>
				<td class="field">描述</td>
				<td colspan="3">
					<input class="field-title easyui-validatebox" type="text" name="remark" value="" maxlength="100"
						data-options="validType:'bytelen[0,100]',invalidMessage:'不能超过100个字节'"/>
				</td>
			</tr>
			<tr>
				<td class="field">类型</td>
				<td>
					<select name="type">
						<option value="1" selected="selected">官方圈</option>
					</select>
				</td>
			</tr>
				<td>
					<input class="field easyui-validatebox"  type="hidden" data-options="required:false" type="text" id="logo" name="logo" value=""/>
	    		</td>
			</tr>
    	</table>
   	</form>
   	<p>圈子logo</p>
   	<form id="filedata-form" action="/qquan-admin/oss/app/upload2" method="post" enctype="multipart/form-data">
		<input name="folder" type="hidden" value="circle"/>
		<input id="uploadkey1" name="uploadkey1" type="file"/>
    	<input id="uploadBtn" type="button" value="上传" onclick="admin.cirlceBase.uploadLogo('logo','showpic');">
    	<div id="showpic">
   		</div>
 	</form>
 	<table cellspacing="4">
			<tr>
				<td colspan="4" align="center">
					<P class="search_form_btn">
						<input type="button" value="保存" class="icon_add" onclick="admin.cirlceBase.doAdd()" />
					</P>
				</td>
			</tr>
    	</table>
 	
   	<script type="text/javascript"> 
		$(function(){
			//admin.cirlceBase.init2();
		});
	</script>

  </body>
</html>
